#ifndef DOUBLE_ITEM_H_
#define DOUBLE_ITEM_H_

#include <string>
#include <vector>
#include <ostream>

using namespace std;

class Double_item: public Item
{
public:
  Double_item(string name);
  ~Double_item();

  double get_double(int n);
  void add_double(double value);

  void save(ostream &os, string indent = "");

  void clear(void);

private:
  vector<double> _values;
};

#endif /* DOUBLE_ITEM_H_ */
